'use strict';

module.exports = app => {
  const { router, controller: { file } } = app;
  // const userExist = app.middleware.userExist();
  const baseUrl = '/api/file';
  router.post(baseUrl, file.index);
};
